<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Realm - Tables</title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="__PUBLIC__/admin_style/assets/ico/favicon.html">
    <link href="__PUBLIC__/admin_style/assets/css/bootstrap.css" rel="stylesheet">
    <link href="__PUBLIC__/admin_style/assets/css/theme.css" rel="stylesheet">
    <link href="__PUBLIC__/admin_style/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="__PUBLIC__/admin_style/assets/css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="favicon.ico"> 
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="__PUBLIC__/admin_style/assets/img/logo.png" alt="Realm Admin Template">
          </div> 
          


        </div>
      </div>
    </div>

    <div class="container-fluid">

      <!-- Side menu -->  
     <include file="Public/menu"/>
      <!-- /Side menu -->

        <!-- Main window -->
    <div class="main_container" id="tables_page">
      <div class="row-fluid">
        <br>
        <h2 class="heading">
          用户信息管理      
        </h2>
      </div>

          <div class="row-fluid">
           <div class="widget widget-padding span12">
             
    <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>用户信息列表</h5>
              <div class="widget-buttons">
                  <a href="http://www.datatables.net/usage/" data-title="Documentation" class="tip" target="_blank"><i class="icon-external-link"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="users" class="table table-striped table-bordered dataTable">
                <thead>
                 
                    <tr class="success">
	<th>序号</th>
	<th>头像</th>
	<th>用户别名</th>
	<th>联系电话</th>
  <th>邮箱</th>
	<th>状态</th>
	<th>创建时间</th>
	<th>操作</th>
	</tr>
                  
                </thead>
                <tbody>
                <volist name="users" id="vo">
                  <tr class="error">
                    <td>{$i}</td>
                    <td><img src="__PUBLIC__/Uploads/photo/{$vo.photo}" width="50"></td>
                  
                   
  <td>{$vo.aliasname}</td>
  <td><span class="label label-success">{$vo.telephone}</span></td>
  <td>{$vo.email}</td>
  <td> 
  <if condition="$vo.state eq '0'">
  正常
  <else/>
  已禁用
  </if>

  </td>
  <td>{$vo.createtime}</td>

   <td>
   <div>
   <a href="__URL__/edit/id/{$vo.id}"> 修改|</a>
                        <if condition="$vo.state eq '0'">
                            <a href="__URL__/state/id/{$vo.id}/state/{$vo.state}">暂停使用|</a>
                            <else/>
                            <a href="__URL__/isstate/id/{$vo.id}/state/{$vo.state}"><i
                                    class="icon-move"></i> 取消禁用|</a>
                        </if>
                        <a href="__URL__/edituser/id/{$vo.id}"> 密码重置|</a>
                        <a href="__URL__/deluser/id/{$vo.id}" onclick="return confirm('你确定要删除吗？')"><i class="icon-remove"></i>删除</a>
                  </div>



    </td>
                      
                  </tr>
                 </volist>
                </tbody>
              </table>
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->

    </div>
    <!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='__PUBLIC__/admin_style/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='__PUBLIC__/admin_style/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='__PUBLIC__/admin_style/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='__PUBLIC__/admin_style/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/admin_style/assets/js/realm.js"></script>
  </body>
</html>
